package com.easylinkin.linkappapi.meterbilling.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * class info :房间信息管理实体类
 *
 * @author liuqihang
 * @date 2021/7/13 15:23
 */
@Data
@Accessors(chain = true)
@TableName(value = "cbjf_room_info")
public class RoomInfo {

    @TableId(type= IdType.AUTO)
    private Integer id;

    /**
     * 房间名称
     */
    @TableField(value = "room_name")
    private String roomName;

    /**
     * 房间编码
     */
    @TableField(value = "room_code")
    private String roomCode;

    /**
     * 所属区域ID
     */
    @TableField(value = "area_id")
    private String areaId;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * '创建人'
     */
    @TableField(value = "creator")
    private String creator;

    /**
     * '修改人'
     */
    @TableField(value = "modifier")
    private String modifier;

    /**
     * '创建时间'
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * '修改时间'
     */
    @TableField(value = "modify_time")
    private Date modifyTime;

    /**
     * 删除状态(0：存在，1：删除)
     */
    @TableField(value = "delete_status")
    private Integer deleteStatus;

    /**
     * 水费余额
     */
    @TableField(value = "water_balance")
    private BigDecimal waterBalance;

    /**
     * 电费余额
     */
    @TableField(value = "electricity_balance")
    private BigDecimal electricityBalance;

    /**
     * '租户ID'
     */
    @TableField(value = "tenant_id")
    private String tenantId;
}
